class AppVersion {
  String? sysId;
  String? name;
  String? date;
  String? packageName;
  String? versionName;
  int? versionCode;
  String? description;
  String? appId;
  String? creatorUserId;
  String? createDate;
  int? downloadFrequency;
  int? build;
  int? size;
  String? formatSize;
  String? creatorName;
  bool? forceUpgrade;
  String? fileId;
  String? iconId;
  String? apkName;
  String? iconName;
  String? appstoreAddress;
  AppVersion();

  factory AppVersion.fromJson(Map<String, dynamic> json) {
    var version = AppVersion();
    version.sysId = json["sysId"];
    version.name = json["name"];
    version.date = json["date"];
    version.packageName = json["packageName"];
    version.versionName = json["versionName"];
    version.versionCode = json["versionCode"];
    version.description = json["description"];
    version.appId = json["appId"];
    version.creatorUserId = json["creatorUserId"];
    version.createDate = json["createDate"];
    version.downloadFrequency = json["downloadFrequency"];
    version.build = json["build"];
    version.size = json["size"];
    version.formatSize = json["formatSize"];
    version.creatorName = json["creatorName"];
    version.forceUpgrade = json["forceUpgrade"];
    version.fileId = json["fileId"];
    version.iconId = json["iconId"];
    version.apkName = json["apkName"];
    version.iconName = json["iconName"];
    version.appstoreAddress = json["appstoreAddress"];
    return version;
  }

  @override
  String toString() {
    return 'AppVersion{sysId: $sysId, name: $name, date: $date, packageName: $packageName, versionName: $versionName, versionCode: $versionCode, description: $description, appId: $appId, creatorUserId: $creatorUserId, createDate: $createDate, downloadFrequency: $downloadFrequency, build: $build, size: $size, formatSize: $formatSize, creatorName: $creatorName, forceUpgrade: $forceUpgrade, fileId: $fileId, iconId: $iconId, apkName: $apkName, iconName: $iconName}';
  }
}
